/**
 * @filename			my.js
 * @function
 * @author				zfkun<zfkun@163.com>
 * @copyright 			ku6.com
 * @datetime			2007-2-1
 * @lastmodify			2007-2-14
 */
Event.observe(window, "load", my_init, false);

function my_init(){
	onClubClick(1,'/?com=info','info','后台管理');

	try{
		initializeKu6Common();	
	}catch(e){}
	$('mdiframe').height=600;
}

function changeOver(o){
	
	if(Common.is_ie){
		var obj=o.parentNode.parentNode.parentNode.parentNode.parentNode;
	} else {
		var obj=o.previousSibling.previousSibling.previousSibling.previousSibling;
	}
	obj.className='admin_menu_title bdddd';
}
function changeOut(o){
	if(Common.is_ie){
		var obj=o.parentNode.parentNode.parentNode.parentNode.parentNode;
	} else {
		var obj=o.previousSibling.previousSibling.previousSibling.previousSibling;
	}
	obj.className='admin_menu_title';
}

//treeview
function openNode(node,ts) {
	var t = $(ts);
	var o = $(node);
	if(o.visible()){
		t.className = 'treeclose';
		o.hide();
	}else{
		t.className = 'treeopen';
		o.show();
	}
}